package com.edu.koTA07.XmlDataSet;

import java.util.ArrayList;

/** Contains getter and setter method for varialbles  */
public class BarangXmlDataSet {

	/** Variables */
	private ArrayList<String> id_barang = new ArrayList<String>();
	private ArrayList<String> id_kategori = new ArrayList<String>();
	private ArrayList<String> nama_barang = new ArrayList<String>();
	private ArrayList<String> harga_barang = new ArrayList<String>();
	private ArrayList<String> category = new ArrayList<String>();

	
	/** In Setter method default it will return arraylist 
	 *  change that to add  */
	
	public ArrayList<String> getIDBarang() {
		return id_barang;
	}

	public void setIDBarang(String id_barang) {
		this.id_barang.add(id_barang);
	}

	public ArrayList<String> getIDKategori() {
		return id_kategori;
	}

	public void setIDKategori(String id_kategori) {
		this.id_kategori.add(id_kategori);
	}
	
	public ArrayList<String> getNamaBarang() {
		return nama_barang;
	}

	public void setNamaBarang(String nama_barang) {
		this.nama_barang.add(nama_barang);
	}
	
	public ArrayList<String> getHargaBarang() {
		return harga_barang;
	}

	public void setHargaBarang(String harga_barang) {
		this.harga_barang.add(harga_barang);
	}
	
	public ArrayList<String> getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category.add(category);
	}

}
